request = require 'superagent'

require('superagent-proxy')(request)
proxy = 'http://37.187.114.209:8080'

request
.post('http://open.liveapp.cn/contest/entries/add_vote')
.set('Content-Type', 'application/x-www-form-urlencoded')
.send({ id: '1929' })
.proxy(proxy)
.end (err, res) ->
  console.log JSON.parse res.text

